package com.fangzhi.mobel;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 类目表
 * @TableName product_type
 */
@TableName(value ="product_type")
@Accessors(chain = true)
@Data
public class ProductType implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 分类名称
     */
    private String productName;

    /**
     * 上级id
     */
    private Long parentId;

    /**
     * 图片
     */
    private String imageCover;

    /**
     * 单价
     */
    private Integer price;

    /**
     * 备注
     */
    private String comments;

    /**
     * 最小采购件数  0：无限制
     */
    private Integer procureCount;

    private Integer status;
    private Integer level;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}